package L1;

import java.io.IOException;
import java.util.Scanner;

public class _092 {
    /**
     * 进化论
     */
    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);
        int N = scanner.nextInt();
        for (int i=0;i<N;i++){
            int A= scanner.nextInt();
            int B= scanner.nextInt();
            int C = scanner.nextInt();
            if ((A*B)==C){
                System.out.println("Lv Yan");
            }else if ((A+B)==C){
                System.out.println("Tu Dou");
            }else {
                System.out.println("zhe du shi sha ya!");
            }
        }
    }
}
